﻿<%@ Page Title="" Language="C#" MasterPageFile="~/DeveloperSite.Master" AutoEventWireup="true" 
    CodeBehind="Outcome_Indicators.aspx.cs" Inherits="AmkeniCrossLoginApplication.Amkeni_System.CO.Outcome_Indicators" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <asp:EntityDataSource ID="EntityDataSource1" runat="server" ConnectionString="name=Amkeni_DatabaseEntities" 
        DefaultContainerName="Amkeni_DatabaseEntities" EnableDelete="True" EnableFlattening="False" 
        EnableInsert="True" EnableUpdate="True" EntitySetName="programme_outcome_indicators" 
        EntityTypeFilter="programme_outcome_indicators"></asp:EntityDataSource>

    <div style="height:2em;">
        <div style="float:left;">
            <asp:Label ID="ContextLabel" runat="server" Text="PROGRAMME OUTCOME INDICATORS" CssClass="ContentHead"></asp:Label>
        </div>
    </div>

    <asp:GridView ID="GridView1" runat="server" DataSourceID="EntityDataSource1" 
        AutoGenerateColumns="False" DataKeyNames="programme_outcome_indicator_id" 
        CssClass="NewGrid" ShowFooter="True">
        <AlternatingRowStyle CssClass="NewGridAlt" />
        <Columns>
            <asp:TemplateField HeaderText="Outcome Indicator ID" SortExpression="programme_outcome_indicator_id">
                <EditItemTemplate>
                    <asp:Label runat="server" Text='<%# Eval("programme_outcome_indicator_id") %>' ID="Label1"></asp:Label>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label runat="server" Text='<%# Bind("programme_outcome_indicator_id") %>' ID="Label1"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Outcome ID" SortExpression="outcome_id">
                <EditItemTemplate>
                    <asp:TextBox runat="server" Text='<%# Bind("outcome_id") %>' ID="TextBox1"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label runat="server" Text='<%# Bind("outcome_id") %>' ID="Label2"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Outcome Indicator" SortExpression="name">
                <EditItemTemplate>
                    <asp:TextBox runat="server" Text='<%# Bind("name") %>' ID="TextBox2"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label runat="server" Text='<%# Bind("name") %>' ID="Label3"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Baseline" SortExpression="baseline">
                <EditItemTemplate>
                    <asp:TextBox runat="server" Text='<%# Bind("baseline") %>' ID="TextBox3"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label runat="server" Text='<%# Bind("baseline") %>' ID="Label4"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Target" SortExpression="target">
                <EditItemTemplate>
                    <asp:TextBox runat="server" Text='<%# Bind("target") %>' ID="TextBox4"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label runat="server" Text='<%# Bind("target") %>' ID="Label5"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Means of Verification" SortExpression="means_of_verification">
                <EditItemTemplate>
                    <asp:TextBox runat="server" Text='<%# Bind("means_of_verification") %>' ID="TextBox5"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label runat="server" Text='<%# Bind("means_of_verification") %>' ID="Label6"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Collection Method" SortExpression="collection_method">
                <EditItemTemplate>
                    <asp:TextBox runat="server" Text='<%# Bind("collection_method") %>' ID="TextBox6"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label runat="server" Text='<%# Bind("collection_method") %>' ID="Label7"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Responsibility" SortExpression="responsibility">
                <EditItemTemplate>
                    <asp:TextBox runat="server" Text='<%# Bind("responsibility") %>' ID="TextBox7"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label runat="server" Text='<%# Bind("responsibility") %>' ID="Label8"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Risks and Assumptions" SortExpression="risk_and_assumption">
                <EditItemTemplate>
                    <asp:TextBox runat="server" Text='<%# Bind("risk_and_assumption") %>' ID="TextBox8"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label runat="server" Text='<%# Bind("risk_and_assumption") %>' ID="Label9"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
        <FooterStyle CssClass="NewGridFooter" />
    </asp:GridView>

</asp:Content>
